package com.tsing.bms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.bms.entity.Building;
import com.tsing.bms.vo.req.BuildingAddReqVo;
import com.tsing.bms.vo.req.BuildingUpdateReqVo;
import com.tsing.bms.vo.req.IdReqVo;
import com.tsing.bms.vo.req.IdsReqVo;
import com.tsing.bms.vo.resp.BuildingRespVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2021-03-29
 */
public interface IBuildingService extends IService<Building> {

    void addBuilding(BuildingAddReqVo reqVo);

    void deleteBuilding(IdsReqVo reqVo);

    BuildingRespVo getBuildingById(IdReqVo reqVo);

    void updateBuilding(BuildingUpdateReqVo reqVo);

    List<BuildingRespVo> BuildingList();

}
